package com.chaos.domain;

import io.swagger.annotations.ApiModel;

@ApiModel
public class Cartoon {
    private Integer id;

    private String cartoonTitle;

    private String season;

    private String episode;

    private String totalEpisode;

    private String episodeTitle;

    private String content;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCartoonTitle() {
        return cartoonTitle;
    }

    public void setCartoonTitle(String cartoonTitle) {
        this.cartoonTitle = cartoonTitle == null ? null : cartoonTitle.trim();
    }

    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        this.season = season == null ? null : season.trim();
    }

    public String getEpisode() {
        return episode;
    }

    public void setEpisode(String episode) {
        this.episode = episode == null ? null : episode.trim();
    }

    public String getTotalEpisode() {
        return totalEpisode;
    }

    public void setTotalEpisode(String totalEpisode) {
        this.totalEpisode = totalEpisode == null ? null : totalEpisode.trim();
    }

    public String getEpisodeTitle() {
        return episodeTitle;
    }

    public void setEpisodeTitle(String episodeTitle) {
        this.episodeTitle = episodeTitle == null ? null : episodeTitle.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    @Override
    public String toString() {
        return "Cartoon{" +
                "id=" + id +
                ", cartoonTitle='" + cartoonTitle + '\'' +
                ", season='" + season + '\'' +
                ", episode='" + episode + '\'' +
                ", totalEpisode='" + totalEpisode + '\'' +
                ", episodeTitle='" + episodeTitle + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}